package com.ruoyi.people.teacher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.utils.insensitive.PrivacyEncrypt;
import com.ruoyi.common.utils.insensitive.PrivacyTypeEnum;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师信息对象 sys_teacher
 * 
 * @author wad
 * @date 2022-03-28
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师编号 */
    private Long teacherId;

    /** 教师名称 */
    @Excel(name = "教师名称")
    private String teacherName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 性别(0男 1女 2未知) */
    @Excel(name = "性别(0男 1女 2未知)")
    private String sex;

    /** 教师号 */
    @Excel(name = "教师号")
    private String teacherNum;

    /** 民族 */
    @Excel(name = "民族")
    private String teacherFolk;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    /** 邮箱 */
    @PrivacyEncrypt(type = PrivacyTypeEnum.EMAIL)
    @Excel(name = "邮箱")
    private String email;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativePlace;

    /** 年龄 */
    @Excel(name = "年龄")
    private String teacherAge;

    /** 职务类别(0普通教师,1班主任,2其他) */
    @Excel(name = "职务类别(0普通教师,1班主任,2其他)")
    private String jobType;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNum;

    /** 宿舍 */
    @Excel(name = "宿舍")
    private String dormitory;

    /** 现居住地址 */
    @Excel(name = "现居住地址")
    private String currentAddress;

    /** 所在班级 */
    @Excel(name = "所在班级")
    private String className;

    /** 所在学院 */
    @Excel(name = "所在学院")
    private String collegeName;

    /** 当日杭州健康码颜色(0绿 1黄 2红 3其他) */
    @Excel(name = "当日杭州健康码颜色(0绿 1黄 2红 3其他)")
    private String healthColor;

    /** 当日体温情况 */
    @Excel(name = "当日体温情况")
    private String temperature;

    /** 是否健康(0是 1否 2其他) */
    @Excel(name = "是否健康(0是 1否 2其他)")
    private String isHeathy;

    /** 是否为危险人群(0否 1是 2其他) */
    @Excel(name = "是否为危险人群(0否 1是 2其他)")
    private String isDanger;

    private Date createTime;

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setTeacherNum(String teacherNum) 
    {
        this.teacherNum = teacherNum;
    }

    public String getTeacherNum() 
    {
        return teacherNum;
    }
    public void setTeacherFolk(String teacherFolk) 
    {
        this.teacherFolk = teacherFolk;
    }

    public String getTeacherFolk() 
    {
        return teacherFolk;
    }
    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }
    public void setNativePlace(String nativePlace) 
    {
        this.nativePlace = nativePlace;
    }

    public String getNativePlace() 
    {
        return nativePlace;
    }
    public void setTeacherAge(String teacherAge) 
    {
        this.teacherAge = teacherAge;
    }

    public String getTeacherAge() 
    {
        return teacherAge;
    }
    public void setJobType(String jobType) 
    {
        this.jobType = jobType;
    }

    public String getJobType() 
    {
        return jobType;
    }
    public void setPhoneNum(String phoneNum) 
    {
        this.phoneNum = phoneNum;
    }

    public String getPhoneNum() 
    {
        return phoneNum;
    }
    public void setDormitory(String dormitory) 
    {
        this.dormitory = dormitory;
    }

    public String getDormitory() 
    {
        return dormitory;
    }
    public void setCurrentAddress(String currentAddress) 
    {
        this.currentAddress = currentAddress;
    }

    public String getCurrentAddress() 
    {
        return currentAddress;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setCollegeName(String collegeName) 
    {
        this.collegeName = collegeName;
    }

    public String getCollegeName() 
    {
        return collegeName;
    }
    public void setHealthColor(String healthColor) 
    {
        this.healthColor = healthColor;
    }

    public String getHealthColor() 
    {
        return healthColor;
    }
    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }
    public void setIsHeathy(String isHeathy) 
    {
        this.isHeathy = isHeathy;
    }

    public String getIsHeathy() 
    {
        return isHeathy;
    }
    public void setIsDanger(String isDanger) 
    {
        this.isDanger = isDanger;
    }

    public String getIsDanger() 
    {
        return isDanger;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teacherId", getTeacherId())
            .append("teacherName", getTeacherName())
            .append("idCard", getIdCard())
            .append("sex", getSex())
            .append("teacherNum", getTeacherNum())
            .append("teacherFolk", getTeacherFolk())
            .append("birthDate", getBirthDate())
            .append("nativePlace", getNativePlace())
            .append("teacherAge", getTeacherAge())
            .append("jobType", getJobType())
            .append("phoneNum", getPhoneNum())
            .append("dormitory", getDormitory())
            .append("currentAddress", getCurrentAddress())
            .append("className", getClassName())
            .append("collegeName", getCollegeName())
            .append("healthColor", getHealthColor())
            .append("temperature", getTemperature())
            .append("isHeathy", getIsHeathy())
            .append("isDanger", getIsDanger())
            .toString();
    }
}
